// require('./bootstrap');
import Vue from 'vue'
import router from '@/routes/router.js'
import App from '@/views/App.vue'

import moment from 'moment'
import { get, post, put, delet, upload, qsstr, empty } from '@/plugins/request.js'

Vue.prototype.$moment = moment
Vue.prototype.$get = get
Vue.prototype.$post = post
Vue.prototype.$put = put
Vue.prototype.$delete = delet
Vue.prototype.$upload = upload
Vue.prototype.$qsstr = qsstr
Vue.prototype.$empty = empty

const app = new Vue({
    el: '#app',
    components: { App },
    router,
})
